import { createApp } from 'vue'
import App from './App.vue'
import antd from 'ant-design-vue';

import {SagDialog,
  SagDrawer,
  SagPanel,
  SagRadio,
  SagSelect,
  SagTable,
  SagCheckbox,
  SeqSplitter} from './lib/index';

// import {
//   SagPanel,
//   SagDrawer
// } from '../dist/sag-vue3-coms.es';
// import '../dist/style.css'
import 'ant-design-vue/dist/antd.min.css'
import {resize} from "./lib/resize/resize";

const app = createApp(App);
app.use(antd);
app.use(SagPanel);
app.use(SagDrawer);
app.use(SagDialog);
app.use(SagRadio);
app.use(SagSelect);
app.use(SagTable);
app.use(SagCheckbox);
app.use(SeqSplitter);

app.directive('resize', resize);

app.mount('#app')
